package com.bw.servcie;

import com.bw.dao.GmallDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GmallServiceImp implements  GmallService{
    @Autowired
    GmallDao gmallDao;
    @Override
    public List<Map> findBase(String newDate) {
        return gmallDao.findBase(newDate);
    }

    @Override
    public List<Map> findSpu(String newDate) {
        return gmallDao.findSpu(newDate);
    }
}
